<template>
  <div class="item-box">
    <block-header icon="/static/icon/create-group.png" title="我创建的群" :number="createData.length"></block-header>
    <group-list :data="createData" v-if="createData.length > 0"></group-list>
    <span v-else class="tip-null">暂无数据</span>
  </div>
</template>

<script>
  import BlockHeader from '../../components/block-header'
  import GroupList from '../../components/group-list'

  export default {
    name: 'create-group-block',
    components: {
      BlockHeader,
      GroupList
    },
    mixins: [],
    computed: {},
    props: {
      createData: {
        type: Array,
        default: []
      }
    },
    data() {
      return {
      }
    },
    methods: {},
    watch: {},
    mounted() {
    },
    created() {
    }
  }
</script>

<style scoped>

</style>
